package com.xrf;

public class ApplicationInfo {
    private String requestNumber;
    private Long typeOfApplication;
    private String paymentAmount;
    private Long paymentStatus;
    private String dateOfApplication;
    private String idNumber;
    private Long contactWay;
    private Double registrationType;
    private Long nameOfPersonnel;
    private int certificateType;
    private String certificateNumber;
    
    public ApplicationInfo() {}
    
    public ApplicationInfo(String requestNumber, Long typeOfApplication, 
                          String paymentAmount, Long paymentStatus, 
                          String dateOfApplication, String idNumber,
                          Long contactWay, Double registrationType,
                          Long nameOfPersonnel, int certificateType, 
                          String certificateNumber) {
        this.requestNumber = requestNumber;
        this.typeOfApplication = typeOfApplication;
        this.paymentAmount = paymentAmount;
        this.paymentStatus = paymentStatus;
        this.dateOfApplication = dateOfApplication;
        this.idNumber = idNumber;
        this.contactWay = contactWay;
        this.registrationType = registrationType;
        this.nameOfPersonnel = nameOfPersonnel;
        this.certificateType = certificateType;
        this.certificateNumber = certificateNumber;
    }
    
    // Getter and Setter methods
    public String getRequestNumber() { return requestNumber; }
    public void setRequestNumber(String requestNumber) { this.requestNumber = requestNumber; }
    public Long getTypeOfApplication() { return typeOfApplication; }
    public void setTypeOfApplication(Long typeOfApplication) { this.typeOfApplication = typeOfApplication; }
    public String getPaymentAmount() { return paymentAmount; }
    public void setPaymentAmount(String paymentAmount) { this.paymentAmount = paymentAmount; }
    public Long getPaymentStatus() { return paymentStatus; }
    public void setPaymentStatus(Long paymentStatus) { this.paymentStatus = paymentStatus; }
    public String getDateOfApplication() { return dateOfApplication; }
    public void setDateOfApplication(String dateOfApplication) { this.dateOfApplication = dateOfApplication; }
    public String getIdNumber() { return idNumber; }
    public void setIdNumber(String idNumber) { this.idNumber = idNumber; }
    public Long getContactWay() { return contactWay; }
    public void setContactWay(Long contactWay) { this.contactWay = contactWay; }
    public Double getRegistrationType() { return registrationType; }
    public void setRegistrationType(Double registrationType) { this.registrationType = registrationType; }
    public Long getNameOfPersonnel() { return nameOfPersonnel; }
    public void setNameOfPersonnel(Long nameOfPersonnel) { this.nameOfPersonnel = nameOfPersonnel; }
    public int getCertificateType() { return certificateType; }
    public void setCertificateType(int certificateType) { this.certificateType = certificateType; }
    public String getCertificateNumber() { return certificateNumber; }
    public void setCertificateNumber(String certificateNumber) { this.certificateNumber = certificateNumber; }
    
    @Override
    public String toString() {
        StringBuilder builder = new StringBuilder();
        builder.append("申请号:").append(requestNumber).append("\t");
        builder.append("申请类型:").append(typeOfApplication).append("\t");
        builder.append("交款金额:").append(paymentAmount).append("\t");
        builder.append("付款状态:").append(paymentStatus).append("\t");
        builder.append("申请日期:").append(dateOfApplication).append("\t");
        builder.append("证件号码:").append(idNumber).append("\t");
        builder.append("联系方式:").append(contactWay).append("\t");
        builder.append("登记类型:").append(registrationType).append("\t");
        builder.append("人员姓名:").append(nameOfPersonnel).append("\t");
        builder.append("证件类型:").append(certificateType).append("\t");
        builder.append("证件号码:").append(certificateNumber).append("\t");
        return builder.toString();
    }
}